package tech.yunland.shop.domain.service;

import tech.yunland.shop.domain.model.Lessons;

import java.util.List;
import java.util.Map;

/**
 * Created by v on 17-7-3.
 */
public interface LessonsService {
    
    void save(Lessons lessons);

    Integer getSize(String param);

    List<Map<String, Object>> get(String param, Integer startIdx, Integer rows);

    Integer getLessonsSize(String uid);

    List<Map<String,Object>> getLessons(String uid, Integer startIdx, Integer rows);
}
